import Vue from 'vue'
import App from './App.vue'

import router from '@/router/index';
import store from '@/store/index';
import toast from 'components/common/toast/index';


// 第三方库
import fastClick from 'fastclick';
import vueLazyLoad from 'vue-lazyload';

// 使用第三方库
fastClick.attach(document.body);
Vue.use(vueLazyLoad, {
  loading: require('assets/img/common/placeholder.png')
});

// 组件插件式封装
Vue.use(toast);

//创建事件总线
Vue.prototype.$bus = new Vue();

Vue.config.productionTip = false


// Vue实例
new Vue({
  
  render: h => h(App),
  router,
  store
}).$mount('#app')

